var mongoose = require('mongoose')

mongoose.connect('mongodb://127.0.0.1/mians',(err)=>{
    if(!err){
        console.log('连接建立')
    }
    console.log(err)
})

module.exports = mongoose